package com.rc.saas.tenant.model.enterprise;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.rc.saas.tenant.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class EnterpriseSubmemberShare extends BaseModel {
    private Long submemberShareId;

    private String tenantCode;

    private Long memberId;

    private Long enterpriseId;

    private Long enterpriseMemberId;

    private String shareType;

    private BigDecimal fixedPower;

    private BigDecimal sharePower;

    private BigDecimal fixedAccount;

    private BigDecimal shareAccount;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    private String status;

    private String createdBy;

    private Date createdTime;

    private String lastUpdatedBy;

    private Date lastUpdatedTime;

    public Long getSubmemberShareId() {
        return submemberShareId;
    }

    public void setSubmemberShareId(Long submemberShareId) {
        this.submemberShareId = submemberShareId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public Long getEnterpriseMemberId() {
        return enterpriseMemberId;
    }

    public void setEnterpriseMemberId(Long enterpriseMemberId) {
        this.enterpriseMemberId = enterpriseMemberId;
    }

    public String getShareType() {
        return shareType;
    }

    public void setShareType(String shareType) {
        this.shareType = shareType;
    }

    public BigDecimal getFixedPower() {
        return fixedPower;
    }

    public void setFixedPower(BigDecimal fixedPower) {
        this.fixedPower = fixedPower;
    }

    public BigDecimal getSharePower() {
        return sharePower;
    }

    public void setSharePower(BigDecimal sharePower) {
        this.sharePower = sharePower;
    }

    public BigDecimal getFixedAccount() {
        return fixedAccount;
    }

    public void setFixedAccount(BigDecimal fixedAccount) {
        this.fixedAccount = fixedAccount;
    }

    public BigDecimal getShareAccount() {
        return shareAccount;
    }

    public void setShareAccount(BigDecimal shareAccount) {
        this.shareAccount = shareAccount;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }
}